package my;



import net.egork.io.InputReader;
import java.io.PrintWriter;

public class TaskA {
	public void solve(int testNumber, InputReader in, PrintWriter out) {
        int n = in.readInt();
        if (n <= 2)
            out.println(-1);
        else {
            out.print("3 2");
            for (int i = 2; i < n; ++i)
                out.print(" 1");
            out.println();
        }
	}
}
